<?php

namespace app\modules\controllers;

use app\modules\models\test\TestModel;
use yii\web\Controller;
use app\modules\controllers\CommonController;
use Yii;

class DefaultController extends CommonController
{ 
    protected $mustlogin = ['index','icons'];
    public function actionIndex()
    {
        $this->layout = "layout1";
//        //$arr=Yii::$app->params['webcnf'];
//      //  print_r($arr);
//        $model=new TestModel();
//        $arr=$model->testlist();
//
//        print_r($arr);

        return $this->render('index');
    }

    public function actionIcons(){
        $this->layout = "layout1";
        return $this->render('icons');
    }






}